package com.wish.wishhouse_resource.service.impl;

import com.wish.wishhouse_resource.entity.TMTenant;
import com.wish.wishhouse_resource.mapper.TMTenantMapper;
import com.wish.wishhouse_resource.service.ITMTenantService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import dto.houseResourceDto.TenantDto;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author zhangshuxin
 * @since 2021-03-27
 */
@Service
public class TMTenantServiceImpl extends ServiceImpl<TMTenantMapper, TMTenant> implements ITMTenantService {


    @Override
    public List<TMTenant> listAll(TenantDto tenantDto) {
        return baseMapper.listAll(tenantDto);
    }
}
